/*
 * @Author: moeWang
 * @Date: 2022-03-08 14:17:56
 * @LastEditTime: 2022-03-08 14:49:43
 * @LastEditors: moeWang
 * @Description:
 * @FilePath: \nest-web\src\logical\menu\models\menu.model.ts
 */

import { ApiPropertyOptional } from '@nestjs/swagger';

export class MenuResultModel {
  @ApiPropertyOptional({ description: '子菜单' })
  children: Array<MenuResultModel>;
  @ApiPropertyOptional({ description: '是否隐藏' })
  hidden: boolean;
  @ApiPropertyOptional({ description: '图标' })
  icon: string;
  @ApiPropertyOptional({ description: 'id' })
  id: number;
  @ApiPropertyOptional({ description: '菜单名称' })
  label: string;
  @ApiPropertyOptional({ description: '菜单地址' })
  path: string;
  @ApiPropertyOptional({ description: '顺序' })
  sort: number;
}
